export function formatLocalDateTimeArray(dateTimeArray) {
  if (!Array.isArray(dateTimeArray) || dateTimeArray.length < 6) return 'N/A';

  const [year, month, day, hour, minute, second] = dateTimeArray;
  const date = new Date(year, month - 1, day, hour, minute, second); // 注意：JS中月份从0开始

  return date.toLocaleString('zh-CN', {
    year: 'numeric',
    month: '2-digit',
    day: '2-digit',
    hour: '2-digit',
    minute: '2-digit',
    second: '2-digit'
  });
}
